// pages/activity/tree/record.js
Page({
  data: {
    list: [],
    page: 1,
    size: 10
  },
  onLoad(options) {
    this.getList();
  },
  onPullDownRefresh() {},
  onReachBottom() {},
  onShareAppMessage() {},
  getList() {
    getApp().globalData.http.tree_record().then(res => {
      this.setData({
        page: this.data.page,
        size: this.data.size
      });
    });
  },
})